﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.IO;
using System.Net;
using System.Data.SqlClient;
using System.Data;

namespace FBProductsSynchronization
{
    static class Program
    {

        static void Main(string[] args)
        {

            try
            {
                
                Config config = new Config();
                Fishbowl Fishbowl = new Fishbowl();
                DataUtility Utility = new DataUtility();
                //String key = "";
                //config.start();
                //ConnectionObject connectionObject = new ConnectionObject();
                //connectionObject = config.ReturnConnection();
                //key = config.ReturnKey();
                
                Utility.ExportProducts("ExportProductTree", "All");
               //Console.ReadLine();
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message.ToString());
                DataUtility.sendEmail(e.Message.ToString());
            }
        }
    }
}

